package com.sanhe.rfmuscle.adapter;


import androidx.annotation.Keep;

import com.finddreams.languagelib.LanguageType;
import com.menu.app.adapter.LanguageAdapter;
import com.menu.app.bean.LanItem;
import com.menu.app.it.LanguageCtrl;

@Keep
public class MyLanguageAdapter extends LanguageAdapter {

    public MyLanguageAdapter() {
        super();
    }

    public MyLanguageAdapter(LanguageCtrl ctrl, boolean big) {
        super(ctrl, big);
    }

    @Override
    protected void init() {
        list.add(new LanItem(big ? com.menu.app.R.mipmap.en_select : com.menu.app.R.mipmap.en_icon, "English", LanguageType.LANGUAGE_EN));
        list.add(new LanItem(big ? com.menu.app.R.mipmap.fr_flag : com.menu.app.R.mipmap.fr, "Français", LanguageType.LANGUAGE_FR));
        list.add(new LanItem(big ? com.menu.app.R.mipmap.bg_flag_big : com.menu.app.R.mipmap.bg_flag_small, "български", LanguageType.LANGUAGE_BG));
    }
}